def bubble_sort(nums):
    s = true
    while s:
        s = False
        for i in range(len(nums) - 1):
            if nums [i] >nums[i +1]:
                nums[i], nums [i+1], nums[i]
                s= True
def read2list(f):
    file = open(f, 'r')
    data = file.readlines()
    return data
m1 = read2list("m1_sorted.txt")
m2 = read2list("m2_sorted.txt")
m3 = read2list("m3_sorted.txt")
